package ventanas;

import javax.swing.JFrame;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import javax.swing.JButton;
import java.awt.Insets;

public class VentanaCargarSaldo3 extends JFrame{
	public VentanaCargarSaldo3() {
		setTitle("Cargar saldo");
		GridBagLayout gridBagLayout = new GridBagLayout();
		gridBagLayout.columnWidths = new int[]{0, 0, 0, 0, 162, 106, 0, 0};
		gridBagLayout.rowHeights = new int[]{0, 0, 34, 0, 31, 0};
		gridBagLayout.columnWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, Double.MIN_VALUE};
		gridBagLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, Double.MIN_VALUE};
		getContentPane().setLayout(gridBagLayout);
		
		JLabel lblIntroduzcaBilleteY = new JLabel("Introduzca billete y pulse 'OK'");
		GridBagConstraints gbc_lblIntroduzcaBilleteY = new GridBagConstraints();
		gbc_lblIntroduzcaBilleteY.insets = new Insets(0, 0, 5, 5);
		gbc_lblIntroduzcaBilleteY.fill = GridBagConstraints.VERTICAL;
		gbc_lblIntroduzcaBilleteY.gridx = 4;
		gbc_lblIntroduzcaBilleteY.gridy = 2;
		getContentPane().add(lblIntroduzcaBilleteY, gbc_lblIntroduzcaBilleteY);
		
		JButton btnOk = new JButton("OK");
		GridBagConstraints gbc_btnOk = new GridBagConstraints();
		gbc_btnOk.insets = new Insets(0, 0, 0, 5);
		gbc_btnOk.gridx = 3;
		gbc_btnOk.gridy = 4;
		getContentPane().add(btnOk, gbc_btnOk);
		
		JButton btnCancelar = new JButton("Cancelar");
		GridBagConstraints gbc_btnCancelar = new GridBagConstraints();
		gbc_btnCancelar.fill = GridBagConstraints.VERTICAL;
		gbc_btnCancelar.anchor = GridBagConstraints.WEST;
		gbc_btnCancelar.insets = new Insets(0, 0, 0, 5);
		gbc_btnCancelar.gridx = 5;
		gbc_btnCancelar.gridy = 4;
		getContentPane().add(btnCancelar, gbc_btnCancelar);
	}

}

